package edu.wpi.cs509.persistence;

import java.util.Date;

public class Move 
{
	private int id;
	private Game game;
	private String actionNotation;
	private Date time;
	
	public Move()
	{
		
	}
	
	public int getId() {
		return id;
	}

	public void setId(int id) {
		this.id = id;
	}

	public Game getGame() {
		return game;
	}

	public void setGame(Game game) {
		this.game = game;
	}

	public void setActionNotation(String actionNotation) {
		this.actionNotation = actionNotation;
	}

	public void setTime(Date time) {
		this.time = time;
	}
	
	public Move(Game game, String actionNotation, Date time)
	{
		this.game = game;
		this.actionNotation = actionNotation;
		this.time = time;
	}
	
	public Game getPlayedGame()
	{
		return game;
	}
	
	public String getActionNotation()
	{
		return actionNotation;
	}
	
	public Date getTime()
	{
		return time;
	}
}
